#include "../mqserver/channel.hpp"

#include <gtest/gtest.h>

int main(int argc, char* argv[])
{
    // testing::InitGoogleTest(&argc, argv);
    // testing::AddGlobalTestEnvironment(new BindingTest);
    // RUN_ALL_TESTS();
    mymq::ChannelManager::ptr cmp = std::make_shared<mymq::ChannelManager>();
    cmp->CreateChannel("c1", std::make_shared<mymq::ConsumerManager>(),
                        std::make_shared<mymq::VirtualHost>("host1", "./data/host1/message", "./data/host1/meta.db"),
                        muduo::net::TcpConnectionPtr(),
                        mymq::ProtobufCodecPtr(),
                        mymq::ThreadPool::ptr());

    return 0;
}